package org.example.pojo;

import lombok.Data;

import java.math.BigDecimal;

/**
 * ClassName: UserLogin
 * Description:
 *
 * @Author Kotaro
 * @Create 2024/11/23 19:14
 * @Version 1.0
 */
@Data
public class User {

    //这是所有用户共有的属性
    private String userId;
    private String password;


    //老人属性
    private String elderlyName;           //家属名称
    private String gender;                // `gender`
    private Integer location;                 // `location`
    private String residence;             // `residence`
    private String contactNumber;         // `contact_number`
    private Boolean selfCare;             // `self_care`
    private Boolean isLivingAlone;        // `is_living_alone`
    private String familyId;              // `family_id`
    private String familyContactNumber;   // `family_contact_number`
    private BigDecimal height;            // `height`
    private BigDecimal weight;            // `weight`
    private String bloodPressure;         // `blood_pressure`
    private BigDecimal bloodGlucose;            // `blood_glucose`
    private String disease;               // `disease`
    private String remarks;               // `remarks`
    private Integer helpRequestsCount;    // `help_requests_count`

    //社区属性
    private String communityAddress;       // `community_address`
    private String communityContactNumber; // `community_contact_number`
    private String contactEmail;           // `contact_email`
    private String communityName;          // `community_name`

    //志愿者属性
    private String volunteerName;          // `volunteer_name`
    private String community;              // `community`
    private Integer volunteerHours;            // `volunteer_hours`
    private Integer completedTasks;            // `completed_tasks`
    private Boolean rating;                // `rating` (1: true, 0: false)
    private String affiliatedOrganization; // `affiliated_organization`
    private Integer age;

    //家属属性
    private String familyName;      //家属名称
    private String linkedElder1;    // `linked_elder_1`
    private String linkedElder2;    // `linked_elder_2`
    private String linkedElder3;    // `linked_elder_3`
    private String linkedElder4;    // `linked_elder_4`
}
